<?php
if(!isset($PageID)){
echo '当前界面未配置PageID,禁止访问!';	
exit;
}

session_start();

//-------------加载配置
include('config.php');

//-------------是否加载头部
if(!isset($nohead)){
include_once('head.php');	
}

//-------------是否加载加载js、css
if(!isset($nojs)){
echo "<script src='https://www.layuicdn.com/layui/layui.js'></script>";
echo "<link rel='stylesheet' href='https://www.layuicdn.com/layui/css/layui.css'>";
}

//-------------加载函数组
include('function.php');
?>